﻿using Bot.Domain.Enum;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;

namespace Bot.Domain.Entities
{
    [Table("t_Chatbot_LearningQuestion")]
    public class ChatbotLearningQuestion
    {
        [Key]             
        public Guid Id { get; set; }
        public Guid BotId { get; set; }
        public EnumChatbotLearningQuestionType Type { get; set; }
        public string Question { get; set; }
        public string Channel { get; set; }
        public Guid SessionId { get; set; }
        public Guid? TopScoreIntentId { get; set; }
        public decimal TopScore { get; set; }
        public DateTime CreatedTime { get; set; }
        [NotMapped]
        public virtual Intent Intent { get; set; }
    }
}
